package models;

import play.*;
import play.db.jpa.*;

import javax.persistence.*;
import java.util.*;

@Entity
public class ActionLog extends Model {
	public int type;
	@ManyToOne
	User owner;
	@OneToOne
	Comment relatedComment;

	public ActionLog(int type, User owner, Comment relatedComment) {
		this.type = type;
		this.owner = owner;
		this.relatedComment = relatedComment;
	}
}
